export default [
    {
        path: "yonghuadd",
        name: "IndexyonghuAdd",
        component: () => import("@/views/yonghu/webadd"),
        meta: { title: "用户添加" },
    },
    {
        path: "xinwenxinxi",
        name: "IndexxinwenxinxiList",
        component: () => import("@/views/xinwenxinxi/index"),
        meta: { title: "新闻信息列表" },
    },
    {
        path: "xinwenxinxidetail",
        name: "IndexxinwenxinxiDetail",
        props: (route) => ({ id: route.query.id }),
        component: () => import("@/views/xinwenxinxi/webdetail"),
        meta: { title: "新闻信息详情" },
    },
    {
        path: "liuyanban",
        name: "IndexliuyanbanList",
        component: () => import("@/views/liuyanban/index"),
        meta: { title: "留言板列表" },
    },
    {
        path: "liuyanbanadd",
        name: "IndexliuyanbanAdd",
        component: () => import("@/views/liuyanban/webadd"),
        meta: { title: "留言板添加", authLogin: true, msg: true },
    },
    {
        path: "pinglunadd",
        name: "IndexpinglunAdd",
        component: () => import("@/views/pinglun/webadd"),
        meta: { title: "评论添加", authLogin: true, msg: true },
    },
    {
        path: "shoucangadd",
        name: "IndexshoucangAdd",
        component: () => import("@/views/shoucang/webadd"),
        meta: { title: "收藏添加", authLogin: true, msg: true },
    },
    {
        path: "shangpinxinxi",
        name: "IndexshangpinxinxiList",
        component: () => import("@/views/shangpinxinxi/index"),
        meta: { title: "商品信息列表" },
    },
    {
        path: "shangpinxinxidetail",
        name: "IndexshangpinxinxiDetail",
        props: (route) => ({ id: route.query.id }),
        component: () => import("@/views/shangpinxinxi/webdetail"),
        meta: { title: "商品信息详情" },
    },
    {
        path: "youxixinxi",
        name: "IndexyouxixinxiList",
        component: () => import("@/views/youxixinxi/index"),
        meta: { title: "游戏信息列表" },
    },
    {
        path: "youxixinxidetail",
        name: "IndexyouxixinxiDetail",
        props: (route) => ({ id: route.query.id }),
        component: () => import("@/views/youxixinxi/webdetail"),
        meta: { title: "游戏信息详情" },
    },
    {
        path: "gouwucheadd",
        name: "IndexgouwucheAdd",
        component: () => import("@/views/gouwuche/webadd"),
        meta: { title: "购物车添加", authLogin: true, msg: true },
    },
];
